home *** CD-ROM | disk | FTP | other *** search
- ; Shaders Script file
- ; Copyright (c) 2001-2003 Crytek Studios. All Rights Reserved.
- ; Author: Honich Andrey
-
- Version (1.00)
-
- //========================================================================
- // ATI R2xx / NVidia NV2X (PS.1.X and above)
-
- // Specular (masked by gloss map in alpha channel of diffuse texture) and diffuse bump-mapping with reflection map
- // For high-poly geometry (without normalization cube-maps)
- // One pass for single light source (one pass for each additional LS)
-
- // Supports:
- // 1. Dot3 light maps
- // 2. Simple light maps
- // 3. Three types of shadow maps (2D, Depth-maps and mixed Depth/2D)
- // 4. Stencil shadows
- // 5. Three types of light sources (Directional, Point/Omni, Projected)
- // 6. Optimised separate techniques for Single/Multiple light sources
- // 7. Optimised separate techniques for PS.2.0 shaders support (to reduce number of passes)
-
- Shader 'TemplBumpSpec_HP_GlossAlpha_EnvCMAmb'
- (
- Params
- (
- Sort = Opaque
- )
- Public
- (
- float 'ReflectAmount' (0.25)
- )
-
- #define $ENVCMAP $CubeMap
- #include "BumpSpecular_HP_GlossAlpha_EnvCM.csi"
- #undefine $ENVCMAP
- )
-
-